<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>分类-月薪过3万</title>
    <!-- 引入mui的样式 -->
    <link rel="stylesheet" href="./assets/mui/css/mui.css">
    <!-- 引入fontawesom -->
    <link rel="stylesheet" href="./assets/fontAwesome/css/font-awesome.css">
    <!-- 公共样式 -->
    <link rel="stylesheet" href="./css/common.css">
    <!-- 首页 自己的样式 -->
    <link rel="stylesheet" href="./css/category.css">
</head>

<body>
    <!-- 头部 -->
    <header id="lt_header" class="mui-bar mui-bar-nav">
        <a href="javascript:;" class="fa fa-arrow-left h_left"></a>
        <input type="text">
        <a href="javascript:;" class="fa fa-search h_right"></a>
    </header>
    <!-- 内容 -->
    <div class="lt_view">
        <div class="left">
        </div>
        <div class="right">
        </div>
    </div>
    <!-- 尾部 -->
    <div class="lt_footer">
        <a  href="./index.html">
            <span class="fa fa-home"></span>
            <div class="link_name">首页</div>
        </a>
        <a class="active" href="javascript:;">
            <span class="fa fa-bars"></span>
            <div class="link_name">分类</div>
        </a>
        <a href="javascript:;">
            <span class="fa fa-cart-plus"></span>
            <div class="link_name">购物车</div>
        </a>
        <a href="javascript:;">
            <span class="fa fa-user"></span>
            <div class="link_name">会员中心</div>
        </a>
    </div>
</body>
<!-- 模板 -->
<!-- 左侧 -->
<script type="text/html" id="leftTpl">
    <ul>
        {{each arr value index}}
        {{if index == 0}}
        <li data-id="{{value.id}}" class="active">{{value.categoryName}}</li>
        {{/if}}
        {{if index != 0}}
        <li data-id="{{value.id}}">{{value.categoryName}}</li>
        {{/if}}
        {{/each}}
    </ul>
</script>
<!-- 右侧 -->
<script type="text/html" id="rightTpl">
    <ul>
        {{each arr value index}}
        <li>
            <a href="javascript:;">
                <img src="{{value.brandLogo}}" alt="">
                <div class="brandName">{{value.brandName}}</div>
            </a>
        </li>
        {{/each}}
    </ul>
</script>

<!-- mui js  不依赖其他 -->
<!-- bootstrap- 基于jquery -->
<script src="./assets/mui/js/mui.js"></script>
<!-- 模板 -->
<script src="./assets/arttemplate/template-web.js"></script>
<!-- zepto 方面我们自己开发 -->
<script src="./assets/zepto/zepto.js"></script>
<!-- 公共的js common.js -->
<script src="./js/common.js"></script>
<!-- 自己的js index.js -->
<script src="./js/category.js"></script>

</html>